Skip to main content
Version: Upcoming

StockLocateResponse

V8 Message Definiton

StockLocateResponse records are either locates or rejections of locate requests. These records are clientFirm specific and are not shared. SpiderRock execution engines are aware of the locate quantities in StockLocateResponse records. Also, these records are shared and depricated accross all SpiderRock production environments. VLanBridge:FieldRename:coreClientFirm:clientFirm BridgeFromV7

METADATA

AttributeValue
Topic1725-client-borrow
MLink TokenClientControl
ProductSRControl
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
coreClientFirmVARCHAR(16)PRI''
locateFirmVARCHAR(6)PRI''typically a clearing firm or 3rd party locate desk
locatePoolVARCHAR(16)PRI''locate pool firm granting the locate
tradeDateDATEPRI'1900-01-01'
requestIDCHAR(19)PRI'0000-0000-0000-0000'ID used to make locate requests SR generated request ID
requestQuanINT0original request quantity for requestID
locateQuanINT0
locateStatusenum - LocateStatus'None'
requestOriginenum - RequestOrigin'None'
requestTimestampDATETIME(6)'1900-01-01 00:00:00.000000'
modifiedByVARCHAR(24)''user who last modified this record
modifiedInenum - SysEnvironment'None'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'timestamp of last modification

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3
coreClientFirm4
locateFirm5
locatePool6
tradeDate7
requestID8

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRControl`.`MsgStockLocateResponse`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a VARCHAR(16) */
`coreClientFirm` = 'Example_coreClientFirm'
AND
/* Replace with a VARCHAR(6) */
`locateFirm` = 'Example_locateFirm'
AND
/* Replace with a VARCHAR(16) */
`locatePool` = 'Example_locatePool'
AND
/* Replace with a DATE */
`tradeDate` = '2022-01-01'
AND
/* Replace with a CHAR(19) */
`requestID` = 'Example_requestID';

Doc Columns Query

SELECT * FROM SRControl.doccolumns WHERE TABLE_NAME='StockLocateResponse' ORDER BY ordinal_position ASC;